<style scoped>
  .expand-row{
    margin-bottom: 16px;
  }
  .lyx-table-btn{
    margin-right: 5px;
    margin-bottom: 2px;
  }
  .title-size {
    font-weight: bold;
    font-size: 1rem;
  }
</style>
<template>
  <div>
      <Form label-position="right" :label-width="100" style="position: relative;" :model="formDate">
        <Row class="mb20">
          <Col span="6" class="ivu-form-item-label">档案编号：</Col>
          <Col span="5" offset="1" class="ivu-form-item-content">
            <Input v-model="formDate.fileNumber"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="17" class="ivu-form-item-label title-size">沈阳市城市低保及低保边缘家庭(住房)情况基础信息表</Col>
        </Row>
        <Row class="mb20">
          <Col span="5" class="ivu-form-item-label">申请人姓名：</Col>
          <Col span="5" offset="1" class="ivu-form-item-content">
            <Input v-model="formDate.applyPerson"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="5" class="ivu-form-item-label">低保(边缘)/特殊供养证号：</Col>
          <Col span="5" offset="1">
            <Input v-model="formDate.cardNumber" ></Input>
          </Col>
          <Col span="9" offset="1"  class="ivu-form-item-content">
            <RadioGroup v-model="formDate.isDb">
              <Radio label="0">低保</Radio>
              <Radio label="1">边缘</Radio>
              <Radio label="3">特殊供养</Radio>
            </RadioGroup>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="5" class="ivu-form-item-label">身份证编号：</Col>
          <Col span="5" offset="1">
            <Input v-model="formDate.applyIdCard" ></Input>
          </Col>
          <Col span="1" class="ivu-form-item-label">18位</Col>
          <Col span="4" class="ivu-form-item-label">再次输入身份证号：</Col>
          <Col span="6">
            <Input v-model="formDate.applyIdCard"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="5" class="ivu-form-item-label">户籍地址：</Col>
          <Col span="2" class="ivu-form-item-label">沈阳市：</Col>
          <Col span="4" >
            <Select v-model="formDate.lawSectionCode">
              <Option v-for="item in sectionList" :value="item.value" :key="item.value">{{ item.label }}</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">区县(市)</Col>
          <Col span="5">
            <Input v-model="formDate.lawAddress"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="4" offset="7">
            <Select v-model="formDate.lawStreetCode">
              <Option v-for="item in streetList" :value="item.value" :key="item.value">{{ item.label }}</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">街镇(乡镇)</Col>
          <Col span="5" >
            <Select v-model="formDate.lawCommitteesCode">
              <Option v-for="item in committeesList" :value="item.value" :key="item.value">{{ item.label }}</Option>
            </Select>
          </Col>
          <Col span="1" class="ivu-form-item-label">社区</Col>
        </Row>
        <Row class="mb20">
          <Col span="5" class="ivu-form-item-label">现居住地址：</Col>
          <Col span="2" class="ivu-form-item-label">沈阳市：</Col>
          <Col span="4" >
            <Select v-model="formDate.resideSectionCode">
              <Option v-for="item in sectionList" :value="item.value" :key="item.value">{{ item.label }}</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">区县(市)</Col>
          <Col span="5">
            <Input v-model="formDate.residAddress"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="4" offset="7">
            <Select v-model="formDate.resideStreetCode">
              <Option v-for="item in streetList" :value="item.value" :key="item.value">{{ item.label }}</Option>
            </Select>
          </Col>
          <Col span="3" class="ivu-form-item-label">街镇(乡镇)</Col>
          <Col span="5" >
            <Select v-model="formDate.resideCommitteesCode">
              <Option v-for="item in committeesList" :value="item.value" :key="item.value">{{ item.label }}</Option>
            </Select>
          </Col>
          <Col span="1" class="ivu-form-item-label">社区</Col>
        </Row>
        <Row class="mb20">
          <Col span="5" class="ivu-form-item-label">通讯地址：</Col>
          <Col span="8" offset="1">
            <Input v-model="formDate.address" ></Input>
          </Col>
          <Col span="2" class="ivu-form-item-label">邮编：</Col>
          <Col span="3">
            <Input v-model="formDate.zip"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="5" class="ivu-form-item-label">移动电话：</Col>
          <Col span="4" offset="1">
            <Input v-model="formDate.mobilePhone" ></Input>
          </Col>
          <Col span="3" class="ivu-form-item-label">必须为11位数字</Col>
          <Col span="3" class="ivu-form-item-label">固定电话：</Col>
          <Col span="3">
            <Input v-model="formDate.phone"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="5" class="ivu-form-item-label">核查登记日期：</Col>
          <Col span="4" offset="1">
            <DatePicker type="date" v-model="formDate.registDate"></DatePicker>
          </Col>
          <Col span="2" class="ivu-form-item-label">调查员：</Col>
          <Col span="3">
            <Input v-model="formDate.investigators"></Input>
          </Col>
          <Col span="2" class="ivu-form-item-label">审核员：</Col>
          <Col span="3">
            <Input v-model="formDate.auditor"></Input>
          </Col>
        </Row>
        <Row class="mb20">
          <Col span="13" class="ivu-form-item-label">
            <Button @click="save()">提交</Button>
          </Col>
        </Row>
    </Form>
  </div>
</template>
<script>
// import { itemParamByOrderList } from '@/api/eventlist'
export default {
  name: 'Form10',
  data () {
    return {
      bwk: '0',
      paramsArr: [],
      list: [],
      sectionList: [],
      streetList: [],
      committeesList: [],
      batchList: []
    }
  },
  props: {
    formDate: {}
  },
  mounted () {
    // this.rowList()
  },
  watch: {
    // params (ret) {
    //   console.log(ret)
    // }
  },
  methods: {
    save () {
      this.$emit('ee')
    }
    // async rowList () {
    //  let params = this.params
    //  let temp = []
    //  temp.push({ type: 'info', size: 'small', c: 1, data: params.row, name: '进度' })
    //  if (params.row.state === '2') {
    //    temp.push({ type: 'info', size: 'small', c: 2, data: params.row, name: '打印通知单' })
    //  }
    //  if (params.row.form_url) {
    //    temp.push({ type: 'info', size: 'small', c: 6, data: params.row, name: '打印表格' })
    //  }
    //  let action1 = evil('(' + params.row.action + ')')
    //  for (let key in action1) {
    //    if (action1[key].type === 'button' && action1[key].next_process_id === '-1') {
    //      let key1 = ''
    //      let key2 = ''
    //      let acs = 3
    //      if (action1[key].params_type) {
    //        key1 = action1[key]
    //        key2 = key
    //        acs = 3
    //      } else {
    //        key1 = key
    //        key2 = action1[key]
    //        acs = 4
    //      }
    //      temp.push({ type: 'success', size: 'small', c: acs, data: { data: params.row, key1: key1, key2: key2 }, name: action1[key].name })
    //    }
    //  }
    //  if (params.row.params && params.row.params !== '{}') {
    //    let param = { id: params.row.item_id, code: params.row.code }
    //    let ax = await itemParamByOrderList(param)
    //    this.paramsArr = ax.data.data
    //    for (let i = 0; i < this.paramsArr.length; i++) {
    //      if (this.paramsArr[i].write_type === 'images') {
    //        temp.push({ type: 'info', size: 'small', c: 5, data: this.paramsArr[i].img_url, name: '查看' + this.paramsArr[i].name })
    //      }
    //    }
    //  }
    //  this.list = temp
    // },
    // async abc () {
    //   let a = await itemParamByOrderList({})
    //   console.log(a, '执行节藕')
    //   this.bwk = a.data
    //   this.$emit('run', { a: 1 })
    // },
    // goRun (type, data) {
    //  this.$emit('breachRun', type, data)
    // }
  }
}
</script>
